package com.example.hackerweb.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description：
 *
 * @Author: cw
 * CreateTime：2022-11-03
 */
@RestController
@RequestMapping("/rest/ofs")
public class TaskController {


    /**
     * 接受代办
     * @return
     */
    @PostMapping("ReceiveTodoRequestByMap")
    public void receiveTodoRequest(@RequestBody String Object){
        System.out.println("dasdasd");
    }

    /**
     * 返回已办
     * @param taskEntity
     * @return
     */
    @PostMapping("ProcessDoneRequestByMap")
    public void processDoneRequest(@RequestBody String taskEntity){
        System.out.println("dasdasd");
    }
}
